package com.zbkj.crmeb.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.store.model.ChannelIntegralExchange;
import com.zbkj.crmeb.store.model.OrderInfoDelivery;
import com.zbkj.crmeb.store.request.ChannelIntegralExchangeRequest;
import com.zbkj.crmeb.store.request.OrderInfoDeliveryRequest;
import com.zbkj.crmeb.store.request.StoreOrderSendRequest;
import com.zbkj.crmeb.store.response.ChannelIntegralExchangeResponse;

import java.util.List;

public interface ChannelIntegralExchangeService extends IService<ChannelIntegralExchange> {

    /**
     * 功能描述: 获取兑换记录
     * @Param: [request, merId]
     * @Return: com.zbkj.crmeb.store.response.ChannelIntegralExchangeResponse
     * @Author: wangzh
     * @Date: 2023/3/7 10:26
     */
    List<ChannelIntegralExchangeResponse> getList(ChannelIntegralExchangeRequest request, Integer merId, Boolean isApp);

    /**
     * 功能描述: 兑换商品发货
     * @Param: [request]
     * @Return: java.lang.Boolean
     * @Author: wangzh
     * @Date: 2023/3/8 11:33
     */
    Boolean sendProduct(StoreOrderSendRequest request);

    /**
     * 功能描述: 查询兑换商品物流
     * @Param: [request]
     * @Return: java.util.List<com.zbkj.crmeb.store.model.OrderInfoDelivery>
     * @Author: wangzh
     * @Date: 2023/3/8 14:37
     */
    List<OrderInfoDelivery> getDeliveryList(OrderInfoDeliveryRequest request);
}
